package com.landeqing.controller;

import com.landeqing.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/user")
public class UserController {
    @Autowired(required = false)
    private UserService userService;

    @RequestMapping("/toLogin")
    public ModelAndView toLogin(){
        ModelAndView mav=new ModelAndView("login");
        return mav;
    }
}
